package com.house.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author: GGP
 * @description: 房间实体类
 * @time: 2023-04-15 15:46
 **/
@Getter
@Setter
@Entity
@Table(name = "room")
@ApiModel
public class Room extends CommonProperties{

	/** 房源id */
	@ApiModelProperty(value = "房源id",name = "houseId",required = true)
	@Column(name = "house_id")
	private Integer houseId;

	/** 房间号 */
	@ApiModelProperty(value = "房间号",name = "number",required = true)
	@Column(name = "number")
	private Integer number;

	/** 房间状态 */
	@ApiModelProperty(value = "房间状态",name = "roomStatus",required = true)
	@Column(name = "room_status")
	private Integer roomStatus;
}
